package org.openea.eap.module.obpm.entity;

import lombok.Data;

@Data
public class EmailApiResponse {
    private Boolean success;
    private UserData data;
    private Message message;
    private Result result;
    private Object messageInfo;

    @Data
    public static class UserData {
        private Long id;
        private String code;
        private String name;
        private String firstName;
        private String lastName;
        private String displayName;
        private Boolean isOuter;
        private Boolean isLeaved;
        private String email;
        private String expireDate;
        private Integer accountType;
    }

    @Data
    public static class Message {
        private Integer code;
        private String message;
    }

    @Data
    public static class Result {
        private Integer count;
    }
}
